package org.springframework.zp.scan.util;

import org.springframework.core.type.filter.AbstractTypeHierarchyTraversingFilter;
import org.springframework.core.type.filter.TypeFilter;

public class InterFaceFilter extends AbstractTypeHierarchyTraversingFilter implements TypeFilter {

	protected InterFaceFilter(boolean considerInherited, boolean considerInterfaces) {
		super(considerInherited, considerInterfaces);
	}



	@Override
	protected Boolean matchInterface(String interfaceName) {
		if (interfaceName.equals("org.springframework.zp.scan.bean.D")){
			return true;
		}
		return null;
	}
}
